package com.gxa.modules.model.entity.fee;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 药品管理表
 * </p>
 *
 * @author gxa
 * @since 2022-11-12 11:12:58
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_medicine")
@ApiModel(value = "Medicine对象", description = "药品管理表")
public class Medicine implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("药品的id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("药品的名字")
    @TableField("name")
    private String name;

    @ApiModelProperty("药品的单价")
    @TableField("price")
    private Double price;

    @ApiModelProperty("药品的描述（介绍）")
    @TableField("description")
    private String description;

    @ApiModelProperty("药品的类型0:西药1：中药")
    @TableField("type")
    private Integer type;

    @ApiModelProperty("逻辑删除标志")
    @TableField("is_delete")
    private Integer isDelete;


}
